package com.example.fms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.fms.dto.req.AddStandardFreightReqDto;
import com.example.fms.dto.req.StandardFreightReqDto;
import com.example.fms.dto.resp.StandardFreightRespDto;
import com.example.fms.entity.StandardFreightRule;

public interface StandardFreightRuleService extends IService<StandardFreightRule> {

    Page<StandardFreightRespDto> getStandardFreightList(StandardFreightReqDto req);

    Boolean addStandardFreightRule (AddStandardFreightReqDto req);

    Boolean upDateStandardFreightRule (AddStandardFreightReqDto req);
    Boolean deleteStandardFreightRule (Long id);
}
